home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2278 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.3 KB

  1. Path: newsroom.hitc.com!usenet
  2. From: psand@eos.hitc.com (G. Patrick Sand)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: VC++ Question, Please help
  5. Date: 16 Jan 1996 21:09:30 GMT
  6. Organization: Hughes Aircraft (EOSDIS)
  7. Message-ID: <4dh46a$t81@newsroom.hitc.com>
  8. References: <4dg779$1im@bignews.shef.ac.uk>
  9. NNTP-Posting-Host: 155.157.118.56
  10. Mime-Version: 1.0
  11. X-Newsreader: WinVN 0.99.3
  12.  
  13. In article <4dg779$1im@bignews.shef.ac.uk>, abdullah@dcs.shef.ac.uk 
  14. says...
  15. >
  16. >If I have two separate VC++ applications (say A and B) how can execute B 
  17. from
  18. >inside A through a menu option. In short, is there any MFC command to 
  19. execute B
  20. >application.
  21. >
  22. >Very urgent PLEASE HELP.
  23. >
  24. >yours sincerely
  25. >Alghamdi
  26. >
  27. you might want to look at system() or exec...() functions to transfer 
  28. control to the second program from the first (system() returns a code; 
  29. exec...()--many flavors--overlaps first app with second...
  30.  
  31. Or----if you are Windows or Win95, make it an OLE object and make an OLE 
  32. call to it...(good luck with this one...)
  33.  
  34. Hope this helps...
  35. -- 
  36. G. Patrick Sand
  37. psand@eos.hitc.com
  38. PatSand@aol.com
  39. (301) 925-0791
  40. "Travel Light But Right..."
  41. Microsoft Network is prohibited from redistributing 
  42. this work in any form, in whole or in part.   License 
  43. to distribute this individual post is available to Microsoft
  44. for $999. Posting without permission constitutes an 
  45. agreement to these terms...gps
  46.  
  47.